package com.neusoft.acquistion.sensor.consumer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;

/**
 * <p>
 * 管理员信息表
 * </p>
 *
 * @author 段静迪
 * @since 2024-04-24
 */
@Tag(name = "测试Swagger3", description = "测试Swagger3注解")
@Schema(description = "Admin对象" )
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema( description = "管理员的信息的流水编号")
    @TableId(value = "adminId", type = IdType.AUTO)
    private Integer adminId;

    @Schema(description = "管理员的登录名")
    private String adminName;

    @Schema( description = "登录密码")
    private String password;

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Admin{" +
            "adminId = " + adminId +
            ", adminName = " + adminName +
            ", password = " + password +
        "}";
    }
}
